package com.situ.onlinebookstore.common.entity;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

@Data
@NoArgsConstructor
@ToString
public class Category implements Serializable {
    private Integer id;
    private String name;
    private String dscp;
    private String pic;
    private Integer parentId;
    private Integer recom;
    private Integer status;

//    //一对多
//     private List<Category> children;
}
